package com.heaven.luxuriant.data;

import com.google.auto.value.AutoValue;

@AutoValue
public abstract class Photo {

    public static Photo create(Integer id, String title, String imageUrl) {
        return new AutoValue_Photo(id, title, imageUrl);
    }

    public abstract Integer getId();

    public abstract String getTitle();

    public abstract String getImageUrl();
}
